import { DiagramCustomizationManagementModel } from "../../DiagramCustomizationManagementModel";

type Classifier = {
  cnName: string;
  enName?: string;
};

export class DiagramClassifyModel {
  classifier: Classifier = {
    cnName: ""
  };
  isModelDisabled: boolean;
  constructor(public diagramCustomizationManagementModel: DiagramCustomizationManagementModel) {
    /*   this.stereotypeModelId = query.stereotypeModelId;
    this.constraintModelId = query.constraintModelId; */
    this.isModelDisabled = diagramCustomizationManagementModel.isModelDisabled;
  }

  initDiagramClassifyData(classifier) {
    if (classifier) {
      this.classifier = classifier;
    }
  }
}
